package com.game.center.messages.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

@Data
@Schema(title = "鱼竿信息修改请求参数")
@EqualsAndHashCode(callSuper = false)
public class FishPoleEditRequestParam {
    @Schema(title = "用户ID")
    @NotEmpty(message = "用户ID不能为为空")
    private long userId;
    @Schema(title = "ID")
    @NotEmpty(message = "ID不能为为空")
    private long id;
    @Schema(title = "名称")
    @NotEmpty(message = "名称不能为为空")
    private String name;
    @Schema(title = "最低成功率")
    @NotEmpty(message = "最低成功率不能为为空")
    private int minRate = 1;
    @Schema(title = "最高成功率")
    @NotEmpty(message = "最高成功率不能为为空")
    private int maxRate = 1;
    @Schema(title = "可钓鱼种（中间用逗号分隔）")
    private String fishType;
}
